﻿using System;
using UnityEditor;
using UnityEngine;

namespace Lan.Extend
{
#if UNITY_2017_1_OR_NEWER
	[CustomEditor(typeof(CustomRenderTexture), true), CanEditMultipleObjects]
#endif
	public class NCustomRenderTexturePreview : NRenderTexturePreview
	{
		new void OnEnable()
		{
			defaultEditor = CreateEditor(targets, Type.GetType("UnityEditor.CustomRenderTextureEditor, UnityEditor"));
			base.OnEnable();
		}
	}
}